<template>
	<view class="user pageBg">
		<view class="userInfo">
			<view class="avatar">
				<image src="/common/images/fish.jpg" mode="aspectFill"></image>
			</view>
			<view class="name">190.168.181.236</view>
			<view class="address">来自浙江</view>
		</view>
		
		<view class="section">
			<view class="box">
				<view class="list">
					<view class="row">
						<view class="left">
							<uni-icons type="download-filled" size="20" color="#28b389"></uni-icons>
							<view class="text">我的下载</view>
						</view>
						<view class="right">
							<view class="text">10</view>
							<uni-icons type="right" size="15" color="#aaa"></uni-icons>
						</view>
					</view>
					<view class="row">
						<view class="left">
							<uni-icons type="star-filled" size="20" color="#28b389"></uni-icons>
							<view class="text">我的平分</view>
						</view>
						<view class="right">
							<view class="text">10</view>
							<uni-icons type="right" size="15" color="#aaa"></uni-icons>
						</view>
					</view>
					<view class="row">
						<view class="left">
							<uni-icons type="chatboxes-filled" size="20" color="#28b389"></uni-icons>
							<view class="text">联系客服</view>
						</view>
						<view class="right">
							<uni-icons type="right" size="15" color="#aaa"></uni-icons>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<view class="section">
			<view class="box">
				<view class="list">
					<view class="row">
						<view class="left">
							<uni-icons type="notification-filled" size="20" color="#28b389"></uni-icons>
							<view class="text">订阅更新</view>
						</view>
						<view class="right">
							<uni-icons type="right" size="15" color="#aaa"></uni-icons>
						</view>
					</view>
					<view class="row">
						<view class="left">
							<uni-icons type="flag-filled" size="20" color="#28b389"></uni-icons>
							<view class="text">常见问题</view>
						</view>
						<view class="right">
							<uni-icons type="right" size="15" color="#aaa"></uni-icons>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	
</script>

<style lang="scss" scoped>
	.userInfo{
		padding: 50rpx 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		.avatar{
			padding-bottom: 14rpx;
			image{
				width: 160rpx;
				height: 160rpx;
				border-radius: 50%;
			}
		}
		.name{
			font-size: 44rpx;
			color:#333;
			padding:20rpx 0 5rpx;
		}
		.address{
			font-size: 28rpx;
			color:#aaa;
		}
	}   
	
	.section{
		width: 690rpx;
		margin:50rpx auto;
		border:1px solid #eee;
		border-radius: 10rpx;
		box-shadow: 0 0 30rpx rgba(0,0,0,0.05);
		.box{
			.list{
				.row{
					display: flex;
					justify-content: space-between;
					align-items: center;
					height: 100rpx;
					width: 100%;
					padding: 0 30rpx;
					border-bottom: 1px solid #eee;
					&:last-child{border-bottom:0}
					.left{
						display: flex;
						justify-content: space-between;
						align-items: center;
						.text{
							padding-left: 20rpx;
							color:#666
						}
					}
					.right{
						display: flex;
						justify-content: space-between;
						align-items: center;
						.text{
							font-size: 28rpx;
							color:#aaa;
							padding-right: 14rpx;
						}
					}
				}
			}
		}
	}
</style>
